<!DOCTYPE html>
<html lang="cn">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style type="text/css"></style>
   
</head>
<body>
  <script>
      var a='12345';
      var b='上山打老虎';

      var c=a+b;
      console.log(c);

      //特性
      var s='小马哥';
      var str1='hello,s \n yoyoyo';
      var str2='hello,s \n yoyoyo';
      console.log(str1);
      console.log(str2);

      //ES6 `` 反引号声明字符串
      //A
      var msg=`
          <img src="./1.jpg" width="200">
          <p>脏大爷说:"挺'好看'"</p>
          <p>你大爷说:嗯</p>
      `;
      //console.log(msg);
      document.write(msg);

      //B
      // x + y =z
      var x=5556,y=99;
      console.log(`${x}+${y}=${x+y}`);
  </script>

   
</body>
</html>


